home *** CD-ROM | disk | FTP | other *** search
/ The SelectWare System Volume 5 #3 / Selectware - The Ultimate Software Demonstration System - Selectware.ISO / bor10010 / copyfile.swt / TRIAL\AUCTION.OVD (.txt) < prev    next >
Encoding:
ObjectVision Datafile  |  1993-03-10  |  22.5 KB  |  420 lines

  1. Begin
  2. CMenu
  3. Intro
  4. AuctionRAMa Menu
  5. Seller Items
  6. Bidder Bids
  7. Sold Items
  8. Items Purchased
  9. CBidder Bids
  10. CSeller Items
  11. CSold Items
  12. CItems Purchased
  13. Seller
  14. Seller Address
  15. Seller City
  16. Seller State
  17. Seller Zip
  18. Seller Phone
  19. Seller Fax
  20. Description
  21. Features
  22. Category
  23. Graphic
  24. Store
  25. Max Bidder
  26. Max Bid
  27. Bidder
  28. Bidder Address
  29. Bidder City
  30. Bidder State
  31. Bidder Zip
  32. Bidder Phone
  33. Bidder Fax
  34. Amount Bid
  35. Item Description
  36. Sale Amount
  37. Items Purchased
  38. Purchase Price
  39. Total Purchases
  40. Items Bid On
  41. Amount You Bid
  42. Winning Bid
  43. Items
  44. New Bid
  45. Commission
  46. Net Sale
  47. Number Of Items
  48. Total Sold Amount
  49. Total Commission
  50. Total Net Sale
  51. Print
  52. Number Items bought
  53. Seller Item Desc
  54. Return
  55. Col10
  56. Col11
  57. Col12
  58. Col13
  59. Show Forms
  60. Continue
  61. Items for Sale
  62. Bids on Items
  63. Items Sold (Seller Report)
  64. Items Purchased (Bidder Report)
  65. Seller Item Max
  66. Old Bid    
  67.  Continue
  68. Courier
  69. Courier
  70. Courier
  71. Tms Rmn
  72. Tms Rmn
  73. Modern
  74. Modern
  75. Modern
  76. Salvo Modern    
  77. System    
  78. Tms Rmn
  79. Tms Rmn
  80. Tms Rmn
  81. Tms Rmn
  82. Tms Rmn
  83. Tms Rmn
  84. Courier
  85. Courier
  86. Helv    
  87. Roman
  88. Roman
  89. Roman
  90. Roman(
  91. Roman(
  92. Modern(
  93. Modern(
  94. Script(
  95. Script(
  96. System
  97. Tms Rmn
  98. Tms Rmn
  99. Small Fonts
  100. Modern
  101. Arial
  102. Arial
  103. A Sample Application...
  104. RDBMS
  105. ORGCHART.OVG
  106. ObjectVision 2.1 is more than a Windows development tool.  It's also a very powerful front-end to relational databases.  This application is an example of what can be accomplished using ObjectVision and several related database tables (we've used both dBASE and Paradox tables).
  107. To help you fully explore ObjectVision's capabilities, we've provided explanation forms in this application which give a technical description of how the application was produced.  In addition, we invite you to use the Form, Stack, Link and Tree tools to "open up" the application and see for yourself what's behind it all.
  108. AuctionRAMaV
  109. AuctionRAMaz
  110. AuctionRAMax
  111. Object Oriented Computer Auctionsz
  112. A Brief Introduction{
  113.   AuctionRAMa is an auction house that sells classic computer 
  114.   bytes and PCs and needs to manage the following information:
  115.      1. What items are for sale.
  116.      2. Who are the Sellers and Bidders.
  117.      3. What Bids are placed on each item.
  118.      4. Which items are sold
  119.      5. The Bids for each Bidder, the winning Bid and how much 
  120.          each Bidder owes.
  121.      6. What proceeds are due to the Seller
  122.      7. The commission the Auction House earns.
  123. AuctionRAMa<
  124. AuctionRAMa`
  125. AuctionRAMa^
  126. Object Oriented Computer Auctionsa
  127. That's right!  Clicking on the AuctionRAMa logo displays an explanation form.
  128. Throughout
  129. this application,
  130. we've
  131. provided
  132. a unique
  133. way for you to see how we created the forms and links - a look behind the scenes, if you will.  
  134. To view an explanation of the current form, simply click on the AuctionRAMa logo 
  135. wherever you see it.7
  136. BUBBLE.OVG
  137. AuctionRAMaT
  138. AuctionRAMax
  139. AuctionRAMav
  140. Object Oriented Computer Auctionsy
  141. This is a simple menu form, with push buttons for selection.
  142. AuctionRAMa
  143. AuctionRAMa.
  144. AuctionRAMa,
  145. Object Oriented Computer Auctions1
  146. Sellers & Items-
  147. CSeller Items
  148. Click on the AuctionRAMa logo to look "behind the scenes"
  149. StateY
  150. (###) ###-####
  151. (###) ###-####
  152. This form is used to enter sellers and the items they wish the auction house to sell.
  153. To browse through the records, click in the Seller field or the Description field and select a value from the list.
  154. AuctionRAMa
  155. AuctionRAMa.
  156. AuctionRAMa,
  157. Object Oriented Computer Auctions.
  158. CBidder Bids
  159. Bidders & Bids=
  160. Click on the AuctionRAMa logo to look "behind the scenes"
  161. StateY
  162. (###) ###-####
  163. (###) ###-####
  164. This form is used to view bids on items made by the Bidder shown, or to enter new bids.
  165. To browse through the records, click in the Bidder field or the Description field and select a value from the list.
  166. AuctionRAMa
  167. AuctionRAMa0
  168. AuctionRAMa.
  169. Object Oriented Computer Auctions0
  170. Click on the AuctionRAMa logo to look "behind the scenes"
  171. CSold Items
  172. Items Sold (Seller Report)+
  173. Click in Seller box, then select a Seller from the list. 
  174. Table1
  175. Totals:s
  176. This form shows the items sold for any given seller.  Click in the seller field to choose a different person.
  177. AuctionRAMa
  178. AuctionRAMa/
  179. AuctionRAMa-
  180. Object Oriented Computer Auctions1
  181. Click on the AuctionRAMa logo to look "behind the scenes"
  182. CItems Purchased
  183. Items Purchased (Bidder Report)*
  184. Click in Bidder field, then select a Bidder from the list. 
  185. Table3
  186. Table2y
  187. Totals:y
  188. Purchases:   
  189. This form shows which items a particular bidder placed bids on, along with a list of those items they purchased by having the winning bid.   The form illustrates a one-to-many-to-many example
  190. AuctionRAMa
  191. AuctionRAMa-
  192. AuctionRAMa+
  193. Object Oriented Computer Auctions.
  194. This is an explanation form.  Click on the RETURN button to go back to the real, functional form.
  195. Bidders & Bids>
  196. This form has three associated links.  The first to the BIDDER file, the second to the BID file and the third to the ITEMMAX file.  All three files are Paradox tables.  The Bidder & Bids form is multi-purpose.  It allows both adding records to and browsing through the Bidder and/or Bid files.
  197. StateY
  198. State, Phone, and Fax are Picture Fields which allow only entry of characters which match the "picture". Great for phone numbers since you don't have to type brackets and dashes.
  199. (###) ###-####
  200. (###) ###-####
  201. Zip is an "Alphanumeric" type field which retains leading zeros.  "General" type fields automatically drop any leading zero.
  202. The "Items" and "List" buttons take you to other forms, from which you may go on to yet other forms.  This allows the user to get to any form from any point without going back to a central menu.
  203. Press the Return button to close this form and return to the real, functional form.
  204. AuctionRAMa
  205. AuctionRAMa.
  206. AuctionRAMa,
  207. Object Oriented Computer Auctions0
  208. This is an explanation form.  Click on the RETURN button to go back to the real, functional form.
  209. Sellers & Items:
  210. This form incorporates 3 different links. The first writes to the SELLER file. The second to the ITEM file (where the Description, Features and Category field come from), and the third to the ITEMMAX file (which stores the maximum bid on each item).
  211. Both "Seller" and "Description" are Combo Box Type Fields. Click in the field, then select a value from the list OR type in a new value.
  212. StateY
  213. (###) ###-####
  214. (###) ###-####
  215. "Features" is a Scrolling Text Field.  Used for long text fields when screen space is scarce. ObjectVision automatically wordwraps and has all the normal text editing features.
  216. "Category" is a Radio Button type field.  Used when you have to select ONE option from a short list of choices.
  217. Click RETURN to close this form and return to the real form.T
  218. AuctionRAMa
  219. AuctionRAMa0
  220. AuctionRAMa.
  221. Object Oriented Computer Auctions1
  222. This is an explanation form.  Click on the RETURN button to go back to the real, functional form.
  223. Items Sold (Seller Report),
  224. 2) The second link - "Item List Max" - is a secondary lookup link.  It locates on the Description field and reads in the Sale Amount value from the ITEMMAX Paradox table.
  225. Item Description
  226. Sale Amount
  227. Commission
  228. Net Sale
  229. Table5
  230. Totals:
  231. 3) The "Commission" and "Net Sale" values are calculated in the table object through value trees. 
  232. 1) The first link - "Item List" - uses the restricted range option to locate the many items for the one current Seller.  This link is to the ITEM file, a dBase table.
  233. Click on the Return button to go back to the real, functional form.
  234. AuctionRAMa
  235. AuctionRAMa/
  236. AuctionRAMa-
  237. Object Oriented Computer Auctions2
  238. This is an explanation form.  Click on the RETURN button to go back to the real, functional form.
  239. Items Purchased (Bidder Report))
  240. This form has two table objects and three links:  Two links to the first Table Object (demonstating how a secondary lookup works) and one link with a filter on the second Table Object.
  241. Items Bid On
  242. Amount You Bid
  243. Winning Bid
  244. Table6
  245. The second link - "Bid List Max" - is a secondary lookup link.  It returns the Max Bid value by performing a locate on the Description in the ITEMMAX file, which matches the "Items Bid On" field.`
  246. The third link - "Items Bought" - uses a filter to find the records in the ITEMMAX file where the Max Bidder field matches the current bidder.
  247. Items Purchasedv
  248. Purchase Price
  249. Table7w
  250. The first link - "Bid List" - reads the item Descriptions and the Amounts Bid from the BID file. The link utilizes the "auto locate" and "restricted range" features to return all the items bid on by the current bidder.
  251. Totals:w
  252. Purchases:   
  253. The number of Items Purchased uses the @Linkcount function, and the Total Purchases field uses the @Linksum function.w
  254. Seller Items    
  255. Items
  256. Item Max
  257. Items
  258. Hardware
  259. Software
  260. Other
  261. Seller Items    $
  262. Items
  263. Item Max
  264. Bidder Bids     
  265. Bidder
  266. Bidder Bids    _
  267. Bidder
  268. Item Max
  269. Seller Items    O
  270. Seller
  271. Items
  272. Item Max
  273. Items
  274. Item Max
  275. Items Bought
  276. Items BoughtC
  277. Amount Bid must be greater than existing bid.
  278. Items Bought
  279. Max Bid
  280. 681.55
  281. AuctionRAMa Menu
  282. Bidder Bids    
  283. Items Purchased
  284. Seller Items    
  285. Sold Items
  286. Seller Items
  287. Item Max
  288. Bidder Bids
  289. Item List
  290. Item List
  291. Sale Amount
  292. Items Bought
  293. CItems Bought    e
  294. @FORMCLOSE(@SELECTEDFORM)
  295. @RESTOREMENU
  296. @FORMSELECT("AuctionRAMa Menu")
  297. CBidder Bids    1
  298. @FORMCLOSE(@SELECTEDFORM)
  299. CItems Bought
  300. CSold Items    0
  301. @FORMCLOSE(@SELECTEDFORM)
  302. CBidder Bids
  303. CSeller Items    /
  304. @FORMCLOSE(@SELECTEDFORM)
  305. CSold Items
  306. Intro
  307. TRYDISK
  308. Seller Items
  309. Bidder Bids
  310. Sold Items
  311. Items Purchased
  312. Intro     
  313. AuctionRAMa Menu
  314. Begin    
  315. CMenu
  316. Item List
  317. Items Bought
  318. CBidder Bids
  319. CSeller Items
  320. Items BoughtC
  321. AuctionRAMa Sample Application
  322. @DELETEMENU("Tools")
  323. @DELETEMENU("View")
  324. @DELETEMENU("Field")
  325. @DELETEMENU("Form")
  326. @DELETEMENU("Edit")
  327. @DELETEMENU("File")
  328. Seller
  329. Seller
  330. Change
  331. Bidder
  332. Seller
  333. SELLER
  334. Seller
  335. Seller Address
  336. Seller City
  337. Seller State
  338. Seller Zip
  339. Seller Phone
  340. Seller Fax
  341. Bidder
  342. BIDDER
  343. Bidder
  344. Bidder Address
  345. Bidder City
  346. Bidder State
  347. Bidder Zip
  348. Bidder Phone
  349. Bidder Fax
  350. Item Max
  351. ITEMMAX
  352. Description
  353. Max Bidder
  354. Max Bid
  355. Seller>
  356. Bidder
  357. Description
  358. Amount Bid
  359. Item List
  360. Table1b
  361. SELLER
  362. DESCRIPTIO
  363. Sale Amount
  364. Item List Max
  365. ITEMMAX
  366. Description
  367. Max Bid
  368. Items Bought
  369. ITEMMAX
  370. Table2"
  371. Description
  372. Max Bid
  373. Bidder
  374. Max Bidder
  375. Bidder
  376. Bid List
  377. Table3b
  378. Bidder
  379. Description
  380. Amount Bid
  381. Bid List Max
  382. ITEMMAX
  383. Description
  384. Max Bid
  385. Items
  386. ITEM.DBF
  387. ITEM.NDX
  388. SELLER
  389. DESCRIPTIO,
  390. FEATURES    
  391. CATEGORY
  392. GRAPHIC
  393. Bid ListC
  394. Table6b
  395. Bidder
  396. Description2
  397. Amount Bid3
  398. Bid List MaxC
  399. ITEMMAX
  400. Description
  401. Max Bid4
  402. Items BoughtC
  403. ITEMMAX
  404. Table7
  405. Description5
  406. Max Bid6
  407. Bought
  408. Max Bidder
  409. Bought
  410. Item ListC
  411. ITEM.DBF
  412. ITEM.NDX
  413. Table5b
  414. SELLER
  415. DESCRIPTIO.
  416. Item List MaxC
  417. ITEMMAX
  418. Description
  419. Max Bid/
  420.